//
//  HomeFlowSEHeadCell.m
//  BaseProject
//
//  Created by 王洋 on 2020/7/13.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "HomeFlowSEHeadCell.h"

@implementation HomeFlowSEHeadCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)fillCellWithModel:(HomeADItemModel *)model {
    
    if (model.sysAdvertisement.sysAdvEventList.count > 0) {
        
        [self.mainImageView sd_setImageWithURL:[NSURL URLWithString:model.sysAdvertisement.sysAdvEventList.firstObject.url] placeholderImage:[UIImage imageNamed:@"placeholder"]];
    }
}

@end
